
const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {

  

    onLoad () {}

    start () {
        this.node.on(cc.Node.EventType.TOUCH_START,this.touchStart,this);
    }

    // update (dt) {}
    
    touchStart(e:cc.Event.EventTouch){
        cc.game.emit('reset-time');
    }
    
    
}
